//
//  CAComfirmWithNoCartApi.m
//  LNH
//
//  Created by twentylx on 2018/2/21.
//  Copyright © 2018年 twentylx. All rights reserved.
//

#import "CAComfirmWithNoCartApi.h"

@implementation CAComfirmWithNoCartApi {
    NSString *_goodsId;
    NSString *_sku;
    NSString *_number;
}

- (instancetype)initGoodsId:(NSString *)goodsId Sku:(NSString *)sku Number:(NSString *)number {
    self = [super init];
    if (self) {
        _goodsId = goodsId;
        _sku = sku;
        _number = number;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodGET;
}

-(id)requestArgument{
    return @{
             @"token":GVUD.token,
             @"goods_id":_goodsId,
             @"sku_id":_sku,
             @"number":_number,
             };
}

-(NSString *)requestUrl{
    NSLog(@"%@", [NSString stringWithFormat:@"%@confirmOrderNoCart",BASE_SERVICE_DOMAIN]);
    return [NSString stringWithFormat:@"%@confirmOrderNoCart",BASE_SERVICE_DOMAIN];
}

@end

